import request from "@/utils/request";
import { IModuleOwnersRegisterInfo, IModuleEmployeesRegisterInfo } from "./data";

export async function registerOwner(data: IModuleOwnersRegisterInfo): Promise<any> {
	return request({ url: "/owners/register",
		method: "post"
		,data});
}

export async function registerEmployees(data : IModuleEmployeesRegisterInfo): Promise<any> {
	return request({ url: "/employees/register",method: "post",data });
}
